home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / tgrind.zip / MAKEFILE < prev    next >
Text File  |  1990-09-18  |  772b  |  31 lines

  1. #    @(#)Makefile    4.1    (Berkeley)    10/19/82
  2. #
  3. DESTDIR=/usr/local
  4. DEFSFILE=/usr/lib/vgrindefs
  5. TEXINPUTS=/usr/lib/tex/macros
  6.  
  7. CFLAGS=-O 
  8. SOURCES=tfontedpr.c vgrindefs.c regexp.c retest.c
  9. CMDS=tfontedpr retest
  10. OBJS=retest.o regexp.o tfontedpr.o vgrindefs.o
  11.  
  12. all:    $(CMDS)
  13.  
  14. tfontedpr: tfontedpr.o vgrindefs.o regexp.o
  15.     cc ${CFLAGS} -o tfontedpr tfontedpr.o vgrindefs.o regexp.o
  16.  
  17. tfontedpr.o: tfontedpr.c
  18.     cc ${CFLAGS} -DDEFSFILE=\"${DEFSFILE}\" -c tfontedpr.c
  19.  
  20. retest: retest.o regexp.o
  21.     cc ${CFLAGS} -o retest retest.o regexp.o
  22.  
  23. install: all
  24.     install -s tfontedpr ${DESTDIR}/lib/tfontedpr
  25.     install -c tgrind.sh ${DESTDIR}/tgrind
  26.     install -c tgrindmac.tex ${TEXINPUTS}/tgrindmac.tex
  27.     install -c vgrindefs.src ${DEFSFILE}
  28.  
  29. clean:
  30.     rm -f ${CMDS} ${OBJS}
  31.